<?php
/**
 * 定义常量的类
 * User: hsh
 * Date: 2019/10/19
 * Time: 11:32
 */

namespace plugin\admin\app\common;

class Constant
{
    const IS_TRUE = 1;
    const IS_FLASE = 0;


    const SETTING_CATTYPE_BASE = 1; //基础参数
    const SETTING_CATTYPE_NODE = 2; //节点参数
    const SETTING_CATTYPE_SYSTEM = 3;   //系统参数

    const PLATFORM_MAP = [
            '1'=>'抖音',
            '2'=>'快手',
            '3'=>'视频号',
            '4'=>'FlexTv',
        ];
    const PROMOTION_MAP = [
            '0'=>'混合',
            '1'=>'短剧',
            '2'=>'小说',
            '3'=>'游戏',
            '4'=>'其他',
            '5'=>'海外',
            '6'=>'电商',
        ];

    const ICON_MAP = [
        '爆款短剧'=>1,
        '爆款小说'=>1,
        '爆款海外'=>1,
        '全网热剪'=>2,
    ];
    const PROMOTION_TYPE_MAP = [
        '0'=>'all',
        '1'=>'skit',
        '2'=>'novel',
        '3'=>'game',
        '4'=>'other',
        '5'=>'oversea',
        '6'=>'e_commerce',
    ];

    const LANGUAGE_MAP = [
        'en'=>'英语',
        'th'=>'泰语',
    ];

}
